<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>#Hotstring</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="../static/theme.css" rel="stylesheet" type="text/css" />
<script src="../static/content.js" type="text/javascript"></script>
</head>
<body>

<h1>#Hotstring</h1>

<p>Changes <a href="../Hotstrings.htm">hotstring</a> options or ending characters.</p>

<pre class="Syntax">#Hotstring NoMouse
#Hotstring EndChars NewChars
#Hotstring NewOptions</pre>
<h3>Parameters</h3>
<dl>

  <dt>NoMouse</dt>
  <dd><p>Prevents mouse clicks from resetting the hotstring recognizer as described <a href="../Hotstrings.htm#NoMouse">here</a>. As a side-effect, this also prevents the <a href="_InstallMouseHook.htm">mouse hook</a> from being required by hotstrings (though it will still be installed if the script requires it for other purposes, such as mouse hotkeys). The presence of <code>#Hotstring NoMouse</code> anywhere in the script affects all hotstrings, not just those physically beneath it.</p></dd>

  <dt>EndChars NewChars</dt>
  <dd><p>Specify the word EndChars followed a single space and then the new ending characters. For example:</p>
    <pre>#Hotstring EndChars -()[]{}':;&quot;/\,.?!`n `t</pre>
    <p>Since the new ending characters are in effect globally for the entire script -- regardless of where the EndChars directive appears -- there is no need to specify EndChars more than once.</p>
    <p>The maximum number of ending characters is 100. Characters beyond this length are ignored.</p>
    <p>To make tab an ending character, include `t in the list. To make space an ending character, include it between two other characters in the list (or at the beginning if the list contains only one other character, or no other characters).</p></dd>

  <dt>NewOptions</dt>
  <dd><p>Specify new options as described in <a href="../Hotstrings.htm#Options">Hotstring Options</a>. For example: <code>#Hotstring r s k0 c0</code>.</p>
      <p>Unlike <em>EndChars</em> above, the #Hotstring directive is positional when used this way. In other words, entire sections of hotstrings can have different default options as in this example:</p>
    <pre>::btw::by the way

#Hotstring r c  <em>; All the below hotstrings will use &quot;send raw&quot; and will be case sensitive by default.</em>
::al::airline
::CEO::Chief Executive Officer

#Hotstring c0  <em>; Make all hotstrings below this point case insensitive.</em></pre></dd>

</dl>
<h3>Related</h3>
<p><a href="../Hotstrings.htm">Hotstrings</a></p>

</body>
</html>
